home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / tools / lu62 / port / portmsg.h < prev    next >
Text File  |  1996-07-10  |  1KB  |  33 lines

  1. #include <ebss.h>
  2. struct rqb *Res_pdequeue();
  3. struct rqb *pdequeue();        /* @0310 */
  4. portmsg()                       /* @0201 *//* @0308 *//* @0310 */
  5. {                /* @0201 */
  6. struct rqb * rp;        /* @0310 */
  7. short msgno;            /* @0310 */
  8. short pno;            /* @0310 */
  9. short *pp;            /* @0310 */
  10. #if (OVL_TYPE==1 && RESIDENT==0)
  11.   rp=Res_pdequeue(&(avt->msgq));    /* @0310 */
  12. #else                /* @0310 */
  13.   rp=pdequeue((struct rqb *)0,&(avt->msgq));    /* @0310 */
  14. #endif
  15.   msgno=rp->th.ra.rparm.parm.parm1;    /* @0310 */
  16.   pno=rp->th.ra.rparm.parm.parm2;    /* @0310 */
  17.   pp=rp->th.ra.wa.rqba.area1;    /* @0310 */
  18. #if (OVL_TYPE==1 && RESIDENT==0)    /* @0310 */
  19.   Res_prelrq(rp);            /* @0310 */
  20. #else                                   /* @0310 */
  21.   prelrq(rp);                     /* @0310 */
  22. #endif                    /* @0310 */
  23. #if (OVL_TYPE && RESIDENT==1)        /* @0310 */
  24.   Trn_psmsgop(msgno,pno,pp);    /* @0201 *//* @0308 *//* @0310 */
  25. #else                    /* @0310 */
  26.   psmsgop(msgno,pno,pp);    /* @0201 *//* @0308 *//* @0310 */
  27. #endif                    /* @0310 */
  28.   if (avt->msgq!=0)            /* @0310 */
  29.     return 1;                /* @0310 */
  30.   else                    /* @0310 */
  31.     return 0;                /* @0310 */
  32. }                /* @0201 *//* @0308 */
  33.